﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Axis.Dao.Core;
using Axis.BusinessObject.Core;

namespace Axis.Web.Views.SKDV
{
    public class CSKDVUI
    {
        public string GetTitlePage(string MenuID) {
            string result = "";
            string inputValue = string.Format("<InputValue UserID='' Session='' FunctionCode='MenuCategory' ID='{0}' />", MenuID);
            CCoreDao cCoreDao = new CCoreDao();
            IList<CListData> list = cCoreDao.GetListData(inputValue);
            if (list != null)
                if (list.Count > 0)
                    if (list[0].Description != null)
                        result = list[0].Description;
            return result;
        }
    }
}